package cn.iocoder.yudao.module.erp.controller.admin.business.produce.producework.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 工作中心新增/修改 Request VO")
@Data
public class ProduceWorkSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6492")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编号不能为空")
    private String code;

    @Schema(description = "负责人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "负责人不能为空")
    private String head;

    @Schema(description = "员工编号ids", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "员工编号ids不能为空")
    private String employeeidList;

    @Schema(description = "员工编号名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "员工编号名称不能为空")
    private String workDetail;

    @Schema(description = "员工人数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "员工人数不能为空")
    private Integer workNum;

}